package com.myjavalab.core;

import java.util.Map;
import java.util.Properties;

public class Enviroment {

	public static void main(String[] args) {

		Map<String, String> env = System.getenv();
		for (String envName : env.keySet()) {
			System.out.format("%s=%s%n", envName, env.get(envName));

		}
		
		Properties p = System.getProperties();
		for(Object pname : p.keySet()){
			System.out.format("%s=%s%n",pname,p.getProperty(pname.toString()));
		}
	}
	

}
